package modular02.work02;

import java.util.Scanner;
/**
 * @author 陈洛健
 * @date 2020/7/17 19:01
 * @description
 *
 * todo 可以使用hashmap初始化服务器时 存储每一个棋盘信息
 */
public class MyMain {

    public static void main(String[] args) {
        Chessboard chessboard = new Chessboard(15);
        chessboard.printChessManual();

        Player player01 = new Player(chessboard);
        Player player02 = new Player(chessboard);

        Thread t1 = new Thread(player01);
        t1.start();
        new Thread(player02).start();
        /*try {
            t1.join();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }*/


    }


}
